using System.Collections.Generic;

namespace Read.Models
{
    /// <summary>
    /// 动态菜单类
    /// </summary>
    public class ResultMenuModel
    {
        /// <summary>
        /// Id
        /// </summary>
        public int id { get; set; }

        /// <summary>
        /// 标题
        /// </summary>
        public string title { get; set; }

        /// <summary>
        ///图标
        /// </summary>
        public string icon { get; set; }

        /// <summary>
        /// 是否展开
        /// </summary>
        public bool spread { get; set; }

        /// <summary>
        ///链接
        /// </summary>
        public string url { get; set; }

        /// <summary>
        /// 子菜单列表
        /// </summary>
        /// <returns></returns>
        public List<ResultMenuModel> children = new List<ResultMenuModel>();
    }
}